// 导入
import request from '@/utils/request'
// 分页查询
export const getGroupPage = (params) => {
  return request({
    url: '/tb/classes/list',
    method: 'GET',
    params
  })
}
// 新增
export const add = (data) => {
  return request({
    url: '/tb/classes/add',
    method: 'POST',
    data
  })
}
// 修改
export const update = (data) => {
  return request({
    url: '/tb/classes/update',
    method: 'POST',
    data
  })
}
// 修改
export const del = (data) => {
  return request({
    url: '/tb/classes/deletes',
    method: 'POST',
    data
  })
}
